package com.usefullc.user.param;

import com.usefullc.system.validator.UsefulPropertyVerify;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("角色资源参数")
@Data
public class RoleAuthResParam {

    @UsefulPropertyVerify(required = true)
    @ApiModelProperty(value = "角色Id")
    private Long roleId;

    @UsefulPropertyVerify(required = true)
    @ApiModelProperty(value = "对应的权限id")
    private List<Long> authResIds;

}
